package net.hn.hnms.biz.emgcy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.hn.hnms.biz.emgcy.domain.MaterialPo;
import net.hn.hnms.biz.emgcy.domain.dto.MaterialDto;
import net.hn.hnms.biz.emgcy.domain.vo.MaterialVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface MaterialSrvice  extends IService<MaterialPo> {
    ResponsePage<MaterialVo> pageList(PageQuery pageQuery, MaterialDto materialDto);

    Boolean add(MaterialPo materialPo);

    Boolean update(MaterialPo materialPo);

    Boolean delete(Long id);

    void export(HttpServletResponse response) throws IOException;
}
